import Qt 4.7
import "Lists"
import "Toolbar"
import "Scrollable"
import "text.js" as TextJS

Rectangle {
    width: 360
    height: 640

    HeaderView {
        id: headerView
        anchors.top: parent.top
        anchors.left: parent.left
        anchors.right: parent.right
        height: 50
        applicationName: "Toolbar"
    }

    Toolbar {
        id: toolbar
        anchors.top: headerView.bottom
        anchors.left: parent.left
        anchors.right: parent.right
        anchors.bottom: parent.bottom

        ToolbarView {
            toolbarItemTitle: "Sliding"
            toolbarItemIcon: "pics/star.png"
            clip: true
            backsteppingEnabled: true
            source: Qt.resolvedUrl("DetailListToolbarView.qml")
        }

        ToolbarView {
            toolbarItemTitle: "Expanding"
            toolbarItemIcon: ""
            clip: true
            source: Qt.resolvedUrl("ExpandingListToolbarView.qml")
        }

        ToolbarView {
            toolbarItemTitle: "Scrollable"
            toolbarItemIcon: "pics/star2.png"
            source: Qt.resolvedUrl("ScrollableToolbarView.qml")
        }
    }
}
